package com.ktjiaoyu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @return 13141
 * 2025/6/25
 * 08:32
 */

public class Supplier {
    private Long id;  //主键ID
    private String supCode;  //供货商编号
    private String supName;  //供货商名称
    private String supDesc;  //供货商描述
    private String supContact;  //供货商联系人
    private String supPhone;  //联系电话
    private String supAddress;  //供货商地址
    private String supFax;  //传真
    private String bizPicPath;  //营业执照
    private Long createdUserId;  //创建人id
    private Date createdTime;  //创建时间
    private Date updatedTime;  //修改时间
    private Long updatedUserId;  //修改人id

    // 无参构造函数
    public Supplier() {
    }

    // 有参构造函数
    public Supplier(Long id, String supCode, String supName, String supDesc, String supContact, String supPhone, String supAddress, String supFax, String bizPicPath, Long createdUserId, Date createdTime, Date updatedTime, Long updatedUserId) {
        this.id = id;
        this.supCode = supCode;
        this.supName = supName;
        this.supDesc = supDesc;
        this.supContact = supContact;
        this.supPhone = supPhone;
        this.supAddress = supAddress;
        this.supFax = supFax;
        this.bizPicPath = bizPicPath;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
        this.updatedUserId = updatedUserId;
    }

    // 属性封装
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSupCode() {
        return supCode;
    }

    public void setSupCode(String supCode) {
        this.supCode = supCode;
    }

    public String getSupName() {
        return supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }

    public String getSupDesc() {
        return supDesc;
    }

    public void setSupDesc(String supDesc) {
        this.supDesc = supDesc;
    }

    public String getSupContact() {
        return supContact;
    }

    public void setSupContact(String supContact) {
        this.supContact = supContact;
    }

    public String getSupPhone() {
        return supPhone;
    }

    public void setSupPhone(String supPhone) {
        this.supPhone = supPhone;
    }

    public String getSupAddress() {
        return supAddress;
    }

    public void setSupAddress(String supAddress) {
        this.supAddress = supAddress;
    }

    public String getSupFax() {
        return supFax;
    }

    public void setSupFax(String supFax) {
        this.supFax = supFax;
    }

    public String getBizPicPath() {
        return bizPicPath;
    }

    public void setBizPicPath(String bizPicPath) {
        this.bizPicPath = bizPicPath;
    }

    public Long getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Long createdUserId) {
        this.createdUserId = createdUserId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Long updatedUserId) {
        this.updatedUserId = updatedUserId;
    }
}
